import React, { Component } from 'react'
import { getCourseListApi, courseUploadApi, courseUpdateApi } from '../../api/course/course'
import { remark, teacher } from '../../api/index'

export default class Test extends Component {
    async componentDidMount() {
        let formdata = new FormData()
        await formdata.append('coverFile', '918c84368dfd19c8695211c6f9c74630.jpg')
        // formdata.append('id', 6)
        console.log(3333, formdata);
        // const data = await courseUploadApi(formdata)
        const data = await teacher.getTeacherListApi({})
        console.log(23232323, data);
    }
    render() {
        return (
            <div>
                123
            </div>
        )
    }
}